package ARestponServlet;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.PrintWriter;

/**
 * @author 李某
 * * @date 2021/11/22
 * *物有本末，事有终始。知其先后者，则近道矣！
 * *荷花开满池塘的前一天还是半塘荷花半塘云。
 */
@WebServlet("/abcd")
public class ResponServlet extends HttpServlet {

    protected void doGet(HttpServletResponse response , HttpServletRequest request) throws IOException {

        PrintWriter out = response.getWriter();
        out.write("hello servlet~~~~");

    }

    protected void doPost(HttpServletResponse response,HttpServletRequest request){

    }





}
